package com.youlai.boot.gym.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.*;

/**
 * 门店管理表单对象
 *
 * @author hxc
 * @since 2025-05-31 22:52
 */
@Getter
@Setter
@Schema(description = "门店管理表单对象")
public class StoresForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "门店名称")
    @NotBlank(message = "门店名称不能为空")
    @Size(max=100, message="门店名称长度不能超过100个字符")
    private String branchName;

    @Schema(description = "门店地址")
    @NotBlank(message = "门店地址不能为空")
    @Size(max=200, message="门店地址长度不能超过200个字符")
    private String address;

    @Schema(description = "联系电话")
    @NotBlank(message = "联系电话不能为空")
    @Size(max=20, message="联系电话长度不能超过20个字符")
    private String phoneNumber;

    @Schema(description = "电子邮箱")
    @Size(max=100, message="电子邮箱长度不能超过100个字符")
    private String email;

    @Schema(description = "门店经理ID")
    private Integer managerId;


}
